import { View } from '@tarojs/components'
import './index.scss'

const Overlay = ({ close }) => {
  return (
    <View className='overlay fixed fixed_all_0 bg_mask' onClick={close}></View>
  )
}
Overlay.defaultProps = {
  close: () => { }
}
export default Overlay
